package com.example.demo.service;

import com.example.demo.pojo.ClassificationTable;
import com.example.demo.pojo.CommodityList;
import com.example.demo.pojo.PictureSheetOfMerchandise;

import java.util.List;
import java.util.Map;

public interface GoodsUplond {
    //增加商品内容
    int addGoods(CommodityList commodityList);
    //查找商品id
    int findGoodsId(String sku);
    //增加商品图片路径
    int addGoodsPath(PictureSheetOfMerchandise pictureSheetOfMerchandise);

    //首次查询商品分类
    Map<String,List<ClassificationTable>> firstFindClassfication();


    //增加商品内容于readis
    int addGoodsOfReadis();


    //增加商品内容于slor
    int addGoodsOfSlor();

}
